//
//  SQCompanyLevelModel.m
//  energy
//
//  Created by 周曼迪 on 2021/7/14.
//

#import "SQCompanyLevelModel.h"

@implementation SQCompanyLevelModelPersonnelArray

@end



@implementation SQCompanyLevelModelData

+(NSDictionary *)cc_arrayWithClass{
    return @{@"personnel":[SQCompanyLevelModelPersonnelArray class]};
}
-(NSArray<NSString *> *)nameArr{
    NSMutableArray *arr = @[].mutableCopy;
    for (SQCompanyLevelModelPersonnelArray *d in self.personnel) {
        [arr addObject:d.m_name];
    }
    return arr;
}

@end


@implementation SQCompanyLevelModel
+(NSString *)api{
    return @"User/User_Login.asmx/report_to_company";
}

+(NSDictionary *)cc_arrayWithClass{
    return @{@"data":[SQCompanyLevelModelData class]};
}
- (NSArray<NSString *> *)nameArr{
    NSMutableArray *arr = @[].mutableCopy;
    for (SQCompanyLevelModelData *d in self.data) {
        [arr addObject:d.os_name];
    }
    return arr;
}
@end
